package com.yueqian.sc.bean;

/**
 * 课程实体类
 */
public class Course {
    private int courseId;// 课程编号
    private String courseName;// 课程名称
    private String coursePic;// 课程图片
    private int teacherId;// 教师编号
    private String textbook;// 教材
    private int credit;// 学分
    private int classHours;// 学时
    private int delFlag;

    public Course() {
    }

    public Course(String courseName, String coursePic,int teacherId, String textbook, int credit, int classHours) {
        this.courseName = courseName;
        this.coursePic = coursePic;
        this.teacherId = teacherId;
        this.textbook = textbook;
        this.credit = credit;
        this.classHours = classHours;
    }

    public Course(int courseId, String coursePic,String courseName, int teacherId, String textbook, int credit, int classHours) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.coursePic = coursePic;
        this.teacherId = teacherId;
        this.textbook = textbook;
        this.credit = credit;
        this.classHours = classHours;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCoursePic() {
        return coursePic;
    }

    public void setCoursePic(String coursePic) {
        this.coursePic = coursePic;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTextbook() {
        return textbook;
    }

    public void setTextbook(String textbook) {
        this.textbook = textbook;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public int getClassHours() {
        return classHours;
    }

    public void setClassHours(int classHours) {
        this.classHours = classHours;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }
}
